//
// Created by admin on 2022/10/9.
// Copyright (c) 2022 122674287@qq.com. All rights reserved.
//

#import "CYTwoViewController.h"
#import "CYListViewController.h"

@implementation CYTwoViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationTitle = @"CYTwoViewController";

    self.navLeftBtn = [self defaultNavLeftBtn];

    self.navigationBarColor = [UIColor redColor];

    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(100, 100, 100, 100);
    button.backgroundColor = [UIColor redColor];
    [button addTarget:self action:@selector(onBtnTap:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
    
//    self.disableFullScreenPop = YES;
}

- (void)onBtnTap:(UIButton *)sender {
    CYListViewController *two = [[CYListViewController alloc] init];
    [self.navigationController pushViewController:two animated:YES];
}
@end
